﻿// Decompiled with JetBrains decompiler
// Type: MCM.LightInject.Instruction`1
// Assembly: MCMv5, Version=5.10.2.0, Culture=neutral, PublicKeyToken=null
// MVID: 7AB326B9-B2B4-41C2-9177-68E944071101
// Assembly location: D:\steam\steamapps\workshop\content\261550\2859238197\bin\Win64_Shipping_Client\MCMv5.dll

using System;
using System.Diagnostics.CodeAnalysis;
using System.Reflection.Emit;

#nullable disable
namespace MCM.LightInject
{
  [ExcludeFromCodeCoverage]
  internal class Instruction<T> : Instruction
  {
    public Instruction(OpCode code, T argument, Action<ILGenerator> emitAction)
      : base(code, emitAction)
    {
      this.Argument = argument;
    }

    public T Argument { get; private set; }

    public override string ToString()
    {
      return string.Format("{0} {1}", (object) base.ToString(), (object) this.Argument);
    }
  }
}
